type Meta = {
    msg: string
    status: number
}

type Data<T> = {
    message: T
    meta: Meta
}

type User = {
    name: string,
    age: number
}

type UserData = Data<User>


const person: UserData = {
    message: {
        name: "陶品奇",
        age: 22,
    },
    meta: {
        msg: "获取数据成功",
        status: 200
    }
}
